package com.example.sakurasay.passwordbook.data.entities

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "independent_passwords")
data class IndependentPasswordEntry(
    @PrimaryKey(autoGenerate = true)
    val id: Int = 0,

    @ColumnInfo(name = "account_name")
    val accountName: String,

    @ColumnInfo(name = "username")
    val username: String,

    @ColumnInfo(name = "password")
    val password: String,

    @ColumnInfo(name = "website")
    val website: String?,

    @ColumnInfo(name = "notes")
    val notes: String?,

    @ColumnInfo(name = "creation_date")
    val creationDate: Long
)